.elx-imgbox-dialog {
  $bg: #f6f6f6;

  .elx-foot {
    padding: 15px 0 0 10px;
    text-align: right;
    margin-right: 30px;
  }
  .elx-upload-foot {
    padding: 15px 0 0 10px;
    text-align: left;
  }

  .pick-block {
    position: relative;

    .elx-img-list-loading {
      position: absolute;
      top: 60px;
      z-index: 9;
      left: 0;
      right: 0;
      width: 100%;
      height: 520px;
      // 加载层高度
      background: #fff;
      text-align: center;

      .el-icon-loading {
        font-size: 50px;
        color: #409eff;
        line-height: 460px;
      }
    }

    .elx-img-list {
      padding: 10px;
      height: 530px;
      // 图片列表高度
      width: 650px;
      .img-item {
        $imgSize: 100px;
        $size: 104px;
        float: left;
        margin: 10px;
        width: $imgSize;
        cursor: pointer;
        position: relative;
        font-size: 12px;

        .image {
          width: $imgSize;
          height: $imgSize;
          display: block;
          object-fit: contain
        }

        .title {
          line-height: 24px;
          height: 24px;
          display: block;
          overflow: hidden;
          background: $bg;
          padding: 0 5px;
        }

        .selected {
          position: absolute;
          right: -3px;
          top: -3px;
          width: $size;
          height: 130px;
          border: 3px solid #409eff;
          border-radius: 3px;
          text-align: right;
          .icon {
            background: #409eff;
            text-align: center;
            height: 24px;
            width: 24px;
            line-height: 24px;
            display: inline-block;
            font-size: 16px;
            color: #fff;
            border-radius: 0 0 0 3px;
            position: absolute;
            right: 0;
            top: 0;
          }
        }

        .modal{
          display: none;
          width: 100%;
          height: 100px;
          position: absolute;
          top:0;
          left: 0;
          background: rgba(0, 0, 0, .6);
          .icon {
            display: block;
            text-align: center;
            width: 100%;
            height: 50px;
            padding: 10px;
            color: #fff;

            .image{
              position: absolute;
              top: 0;
              left: 0;
              width: 100%;
              height: 50px;

              :deep(.el-image__inner){
                opacity: 0;
              }
            }

            &:hover{
              color: #598eea;
            }
          }
        }

        &:hover{
          .modal{
            display: block;
          }
        }
      }

      &::after {
        content: " ";
        display: table;
        height: 0;
        clear: both;
        visibility: hidden;
      }
    }

    // 分页样式
    // eslint-disable-next-line vue-scoped-css/no-unused-selector
    .el-pagination {
      padding: 5px;
      margin-right: 25px;
      justify-content: flex-end;
    }
  }

  .upload-block {
    .upload-img-preview {
      padding: 20px;

      /* 上传图片预览改为使用背景图片按比例缩放方式 */
      :deep(.el-upload--picture-card),
      :deep(.el-upload-list--picture-card .el-upload-list__item),
      :deep(.el-upload-list--picture-card .el-upload-list__item .wp) {
        width: 90px;
        height: 90px;
        line-height: 98px;
        background-size: cover;
        background-position: 50% 50%;
      }

      :deep(.el-upload-list--picture-card .el-upload-list__item-status-label i) {
        margin-top: 12px;
        vertical-align: top;
      }
    }

    .upload-tip {
      padding: 0 20px;
      font-size: 13px;
      color: #999;
    }

    .upload-title {
      font-size: 16px;
      color: #666;
      padding: 20px 0 0 20px;
    }
  }
}
div :deep(.el-tabs__header){
  display: none !important;
}

  .main {
    display: flex;
    justify-content: flex-start;
    .group-box {
      height: 600px;
      min-width: 200px;
      overflow-y: auto;
      overflow-x: hidden;
      .group {
        min-width: 200px;
        padding: 10px;
        .group-item {
          height: 38px;
          line-height: 38px;
          padding: 0 10px;
          display: flex;
          justify-content: space-between;
          cursor:pointer;

          .group-name {
            width: 180px;
          }
        }
        .group-item:hover{
          background: #F7F7F7;
        }
        .active {
          background: #F7F7F7;
        }
      }
    }
  }
  .upload-box {
    margin-left: 50px;
    .select-group-box {
      padding: 20px 0 0 20px;
      display: flex;
      justify-content: flex-start;
      align-items: center;
      .select-group-box-item {
        margin-right: 10px;
      }
    }
  }


.form {
  padding: 15px 0 0 20px;
}

:deep(.el-upload-list__item-actions) {
  a {
    i {
      color: #fff;
    }
  }
}
/* 隐藏tab切换 */
:deep(.el-tabs__header){
  display: none !important;
}
// 隐藏上传按钮
.hide :deep(.el-upload--picture-card){
  display: none;
}

.file-name-box :deep(.el-input__wrapper){
  width: 170px;
}
